package com.etc.order.common.enums;

import lombok.Getter;

@Getter
public enum ProductStatusEnum implements CodeEnum {
    UP(0, "正常"),
    DOWN(1, "下架")
    ;
    private Integer code;
    private String msg;
    ProductStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }
}
